#include "label.h"
#include<QDebug>
Label::Label(QWidget* parent):QLabel(parent)
{

}

void Label::enterEvent(QEvent *event)
{
    qDebug()<<"鼠标进入";
}

void Label::leaveEvent(QEvent *event)
{
    qDebug()<<"鼠标出去";
}

void Label::mouseDoubleClickEvent(QMouseEvent *event)
{
    qDebug()<<"鼠标双击";
}
